home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Yahoo Messenger 1.xpl < prev    next >
Text File  |  1999-09-13  |  2KB  |  80 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="5"
  4. "UIPATH"="Internet\Instant Messaging\Yahoo Messenger"
  5. "NAME"="URL Settings"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.09"
  8. "TEXT 1"="Server (HTTP)"
  9. "TEXT 2"="Server (Socket)"
  10. "TEXT 3"="Pre-Login URL"
  11. "TEXT 4"="Server List URL"
  12. "TEXT 5"="IP Lookup"
  13. "DESCRIPTION 1"="This plug-in will allow you to change the way you connect to Yahoo! Messenger."
  14. "DESCRIPTION 2"="Change the values of the boxes above to the values you want or perhaps need to connect."
  15. "DESCRIPTION 3"="These values are useful if you do not wish to or cannot connect via the default Yahoo! Messenger servers."
  16. "DESCRIPTION 4"="The 'Server List URL' specifies where Yahoo! Messenger should automatically download the latest known server list from."
  17. "DESCRIPTION 5"="Consult Yahoo! Messenger Help in Yahoo! Messenger for more information."
  18. "DESCRIPTION 6"="Yahoo! Messenger may be obtained at http://messenger.yahoo.com/."
  19. "AUTHOR"="Xteq Systems"
  20. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  21. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  22. "COMMENT 2"="Thanks to CptSiskoX for the settings, the idea and his help."
  23.  
  24.  
  25. sP="HKCU\Software\Yahoo\Pager\"
  26. sV1="Http Server"
  27. sV2="Socket Server"
  28. sV3="PreLogin"
  29. sV4="LatestSocketServerUrl"
  30. sV5="IPLookup"
  31. Sub Plugin_Initialize 
  32.  if RegPathExists(sP) then
  33.     s=RegReadValue(sP & sV1)
  34.     SetUIElement 1,s
  35.  
  36.     s=RegReadValue(sP & sV2)
  37.     SetUIElement 2,s
  38.  
  39.     s=RegReadValue(sP & sV3)
  40.     SetUIElement 3,s
  41.  
  42.     s=RegReadValue(sP & sV4)
  43.     SetUIElement 4,s
  44.  
  45.     s=RegReadValue(sP & sV5)
  46.     SetUIElement 5,s
  47.  else
  48.     Disable
  49.  end if
  50. End Sub
  51.  
  52.  
  53. Sub Plugin_CheckData(ElementIndex)
  54. End Sub
  55.  
  56.  
  57. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  58.  s=GetUIElement(1)
  59.  Call RegWriteValue(sP & sV1,s,1)
  60.  
  61.  s=GetUIElement(2)
  62.  Call RegWriteValue(sP & sV2,s,1)
  63.  
  64.  s=GetUIElement(3)
  65.  Call RegWriteValue(sP & sV3,s,1)
  66.  
  67.  s=GetUIElement(4)
  68.  Call RegWriteValue(sP & sV4,s,1)
  69.  
  70.  s=GetUIElement(5)
  71.  Call RegWriteValue(sP & sV5,s,1)
  72. End Sub
  73.  
  74.  
  75. Sub Plugin_Terminate 
  76. End Sub
  77.  
  78.  
  79.  
  80.